package pikes.ecma;

import org.junit.Assert;
import org.junit.Test;

public class FunctionCallTestCase {

	@Test
	public void equals() throws Exception {
		FunctionCall one = new FunctionCall("String", new StringLiteral("boo"));
		FunctionCall theOther = new FunctionCall(new Identifier("String"));
		theOther.addArgument(new StringLiteral("boo"));
		Assert.assertEquals(one, theOther);
	}
}
